Whether Detected Specified Color
Function:

Description: Determine whether the color sensor detected specified color
Parameter:
- port: controller port, range: port1~port6
- color: black; white red; green; blue; yellow;
- Return:
- true: Detected successfully.
- false: Failed to be detected.